package com.sn.author.monitor.msg.eventModel;

import com.sn.author.monitor.msg.entity.TaskPushMessage;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @Author xiaom
 * @Date 2020/9/25 15:08
 * @Version 1.0.0
 * @Description <>
 **/
@Data
public class TaskMessageEvent extends ApplicationEvent {

    private TaskPushMessage taskPushMessage;

    public TaskMessageEvent(Object source,TaskPushMessage taskPushMessage) {
        super(source);
        this.taskPushMessage = taskPushMessage;
    }
}
